package com.nika.usercenter.model.request;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
@Data
public class TeamAddRequest implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 7L;
    /**
     * 队伍名称
     */
    private String teamName;

    /**
     * 描述
     */
    private String teamDesc;

    /**
     * 队伍最大人数
     */
    private Integer maxNum;

    /**
     * 过期时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private Date expireTime;


    private Long userId;

    /**
     * 0-公开 1-私有 2-加密
     */
    private Integer teamStatus;

    /**
     * 密码
     */
    private String teamPassword;


}
